package com.ctc.kmpdemo.net

import com.ctc.kmpdemo.bean.BaseResponse
import com.ctc.kmpdemo.bean.HarmonyDataBean
import io.ktor.client.call.*
import io.ktor.client.request.*

/**
 * 接口服务
 */
object ApiService {

    /**
     * 获取鸿蒙专栏文章列表
     */
    suspend fun getHarmonyColumnArticleList(): BaseResponse<HarmonyDataBean> =
        NetworkClient.client.get("/harmony/index/json").body()
}